package riven.club.demo.repository;

import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import riven.club.common.repository.AbstractRepository;
import riven.club.demo.entity.StudentP;
import riven.club.demo.entity.UserP;

/**
 * @author 陈浩
 * @date 2021-10-14 10:11
 */
public interface UserRepository extends AbstractRepository<UserP, Long> {
    @Override
    <S extends UserP> Page<S> findAll(Example<S> example, Pageable pageable);
}
